package Aop_Z;

import org.aspectj.lang.annotation.Aspect;
import org.aspectj.lang.annotation.Before;
import org.springframework.stereotype.Component;

@Component("taspect")
@Aspect
public class MyAspect {
    @Before("execution(public void Aop_Z.T.method())")
    public void before(){
        System.out.println("before is running ");
    }
}
